package my.dao.impl.rowmapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import my.dao.DaoException;
import my.dao.RowMapper;

public class FloatRowMapperImpl implements RowMapper<Float> {
	
	
	private static FloatRowMapperImpl instance=new FloatRowMapperImpl();
	
	public static FloatRowMapperImpl getInstance(){
		return instance;
	}
	
	private FloatRowMapperImpl(){}

	public Float currRow2Obj(ResultSet rs) throws SQLException,
			DaoException {		
		return rs.getFloat(1);
	}

}
